package com.zhangwei.mapper;

import com.zhangwei.pojo.HotCity;
import com.zhangwei.utils.MyMapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface HotCityMapper extends MyMapper<HotCity> {

    List<HotCity> selectAll();

    HotCity selectById(int id);

    int insertOne(HotCity hotCity);

    int delById(int id);

    int updateOne(HotCity hotCity);
}